package cn.tianyigps.tianyigpsgatherchecker.dao;

import cn.tianyigps.tianyigpsgatherchecker.bean.EquipmentCheckModel;
import cn.tianyigps.tianyigpspublic.mongo.dao.BaseDao;
import com.mongodb.client.result.UpdateResult;

import java.util.List;
import java.util.Map;

/**
 * Created with IntelliJ IDEA
 * Created By CuiGuibin
 * Date: 2018/5/14
 * Time: 18:04
 * Description:
 */
public interface EquipmentCheckModelDao extends BaseDao<EquipmentCheckModel> {
    EquipmentCheckModel getEquipmentCheckModelById(String equipmentId);
    List<EquipmentCheckModel> getGather(Map<String, String> param);
    UpdateResult updateCheckStatus(String equipmentId, List<String> checkRuleList, String fieldName);
}
